package com.fg.pro.trade.dao;

import com.fg.pro.model.trade.dto.*;
import com.fg.pro.trade.entity.TradeSale;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.Date;
import java.util.List;

@Mapper
public interface TradeGoodsSimulationDao {


    List<SimulationCateGoryDto> getCategoryFirByParams(String start, String end, Long categoryFirId, Long categorySecId, Long saleType, Long customerId, Long goodsId, List<String> allowCustomerLine,String customerLine);

    List<TradeSale> getGoodsBySimulationParams(String start, String end, Long categoryFirId, Long categorySecId, Long saleType, Long customerId, Long goodsId, List<String> allowCustomerLine,String customerLine);

    List<SimulationCateGoryDto> getCategorySecByParams(String start, String end, Long categoryFirId, Long categorySecId, Long saleType, Long customerId, Long goodsId, List<String> allowCustomerLine,String customerLine);

    List<SimulationCateGoryDto> getCategoryListByFirParams(String start, String end, Long categoryFirId, Long categorySecId, Long saleType, Long customerId, Long goodsId, List<String> allowCustomerLine,String customerLine);

    List<SimulationCateGoryDto> getCategoryListBySecParams(String start, String end, Long categoryFirId, Long categorySecId, Long saleType, Long customerId, Long goodsId, List<String> allowCustomerLine,String customerLine);

    List<SimulationTypeDto> getCustomerDataBySaleType(String start, String end, Long categoryFirId, Long categorySecId, Long saleType, Long customerId, Long goodsId, List<String> allowCustomerLine,String customerLine);

    List<SimulationCustomerDto> getCustomerListByParams(String start, String end, Long categoryFirId, Long categorySecId, Long saleType, Long customerId, Long goodsId, List<String> allowCustomerLine,String customerLine);

    List<SimulationGoodsDto> getGoodsListByParams(String start, String end, Long categoryFirId, Long categorySecId, Long saleType, Long customerId, Long goodsId, List<String> allowCustomerLine, String customerLine);

    List<SimulationOrderDetailDto> getOrderDetailByParams(String start, String end, Long categoryFirId, Long categorySecId, Long saleType, Long customerId, Long goodsId, List<String> allowCustomerLine, String customerLine);

    SimulationStrDto getTitileByParams(String start, String end, Long categoryFirId, Long categorySecId, Long saleType, Long customerId, Long goodsId, List<String> allowCustomerLine, String customerLine);

}
